<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>通知</title>
    
    <meta name="viewport" content="width=device-width,initial-scale=1" />
    <link rel="stylesheet" type="text/css" href="<%=path %>/css/f/default.css"/>
	<link rel="stylesheet" type="text/css" href="<%=path %>/css/f/navs.css"/>
	<link rel="stylesheet" type="text/css" href="<%=path %>/css/f/assignment.css"/>
	<script src="js/jquery.min.js"></script>
	<script src="js/f/default.js"></script>
  </head>
  <script>
  		function show(a){
			document.getElementById(a).style.display="block";
  		}
  		
  		function hide(a){
			document.getElementById(a).style.display="none";
  		}
  </script>
  
  <body>
	<div class="all"> 
		<jsp:include page="/nav.jsp"></jsp:include>
        <div class="rightall float-left">
        	<div class="already" id="id">
				<div class="already-title">
					<div class="left">发送通知</div>
					<div class="left float-right"><a class="a-color-write" onclick="show('idd'),hide('id'),hide('iddd')">历史通知</a></div>
				</div>
        		<div style="margin-top:20px;">
					<form>
	                	<span style=" margin-left:10%;"></span>
					专业选择：
						<select class="task">
							<option>软件</option>
							<option>电商</option>
						</select>
	                	<span style=" margin-left:5%;"></span>
					班级选择：
						<select class="task">
							<option>软件1班</option>
							<option>软件2班</option>
						</select>
	                	<span style="margin-left:5%;"></span>
					人员选择：
						<select class="task">
							<option>班委</option>
							<option>全部</option>
						</select>
						<textarea class="content" name="content" style="margin-top:20px;"></textarea>
						<button type="submit" class="btn-style task" style="margin-top:20px;">发送</button>
					</form>
        		</div>
        	</div>
			<div class="already" style="display:none;" id="idd">
				<div class="already-title">
					<div class="left">历史通知</div>
					<div class="left float-right"><a class="a-color-write" onclick="show('id'), hide('idd'),show('iddd')">返回</a></div>
				</div>
				<div>
					<table>
						<tr class="tr-style-head">
							<td>专业</td>
							<td>班级</td>
							<td>接受人</td>
							<td>内容</td>
							<td>状态</td>
						</tr>
						<tr class="tr-style">
							<td>专业</td>
							<td>班级</td>
							<td>接受人</td>
							<td>内容</td>
							<td>状态</td>
						</tr>
					</table>
				</div>
			</div>
			<div>
			<div class="already" id="iddd">
				<div class="already-title">
					<div class="left">接受消息</div>
				</div>
				<div>
					<table>
						<tr class="tr-style-head">
							<td>专业</td>
							<td>班级</td>
							<td>发送人</td>
							<td>内容</td>
							<td>文件</td>
							<td>操作</td>
						</tr>
						<tr class="tr-style">
							<td>专业</td>
							<td>班级</td>
							<td>发送人</td>
							<td>内容</td>
							<td>文件</td>
							<td><a class="a-color-red">下载</a></td>
						</tr>
					</table>
				</div>
				<div class="previous">
					<span>上一页</span>
					&nbsp;&nbsp;1/3&nbsp;&nbsp;
					<span>上一页</span>
				</div>
			</div>
		</div>
	</div>
	</div>
  </body>
</html>
